Returns the data of the specified resource type from the Clipboard. Use GetScrap and SetScrap instead of the Clipboard system variable when you want to work with data types other than plain text.
Examples
// Get the picture on the Clipboard and store it in a variable
Variable thePictureData
thePictureData = GetScrap “PICT"
// Get the TEXT/styl (styled text) resource pair from the Clipboard and store it in a resource file
// Copy some styled text to the Clipboard from a styled-text-aware application
// (such as SimpleText or AppleWorks) before running this script